package com.ruoyi.docs.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.TreeEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.ArrayList;
import java.util.List;

/**
 * 栏目对象 biz_column
 * 
 * @author ruoyi
 * @date 2024-05-05
 */
@Data
public class BizTreeColumn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 栏目ID */
    private Long columnId;

    private Long parentId;

    /** 栏目名称 */
    @Excel(name = "栏目名称")
    private String columnName;

    /** 栏目类型0:信息,1:评议 */
    @Excel(name = "栏目类型0:信息,1:评议")
    private Long columnType;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long columnSort;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;
    /** 子部门 */
    private List<BizTreeColumn> children = new ArrayList<>();

}
